package com.service;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.baomidou.mybatisplus.service.IService;
import com.entity.Merchant;
import com.entity.view.MerchantView;
import com.entity.vo.MerchantVO;
import com.utils.PageUtils;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface MerchantService extends IService<Merchant> {
    PageUtils queryPage(Map<String, Object> params);
    List<MerchantVO> selectListVO(Wrapper<Merchant> wrapper);

    MerchantVO selectVO(@Param("ew") Wrapper<Merchant> wrapper);

    List<MerchantView> selectListView(Wrapper<Merchant> wrapper);

    MerchantView selectView(@Param("ew") Wrapper<Merchant> wrapper);

    PageUtils queryPage(Map<String, Object> params,Wrapper<Merchant> wrapper);


    List<Map<String, Object>> selectValue(Map<String, Object> params, @Param("ew") Wrapper<Merchant> wrapper);

    List<Map<String, Object>> selectTimeStatValue(Map<String, Object> params,@Param("ew") Wrapper<Merchant> wrapper);

    List<Map<String, Object>> selectGroup(Map<String, Object> params,@Param("ew") Wrapper<Merchant> wrapper);





}
